<?php


namespace Modules\Common\Models;


use Modules\Common\Models\Validation\AdminRoleValidation;
use Spatie\EloquentSortable\Sortable;
use Spatie\EloquentSortable\SortableTrait;

class AdminRole extends BaseModel implements Sortable
{
    protected $connection = 'mysql';
    protected $table = 'admin_roles';
    use AdminRoleValidation;
    use SortableTrait;

    public $sortable = [
        'order_column_name' => 'sort',
        'sort_when_creating' => true,
    ];

}
